package com.itrip.service.impl;

import com.itrip.dao.ItripUserMapper;
import com.itrip.dao.ex.UserMapper;
import com.itrip.pojo.ItripUser;
import com.itrip.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Resource
    private ItripUserMapper itripUserMapper;

    @Override
    public int addItripUser(ItripUser itripUser) {
        return itripUserMapper.insertSelective(itripUser);
    }
}
